package primegen;

import primegen.candidate.generation.impl.BaseGenerator;
import groovy.util.GroovyTestCase;

public class BaseGeneratorTest extends GroovyTestCase {

	public void testRange() { 
		BaseGenerator baseGenerator = new BaseGenerator([3,5], 7, 20);
		def list = baseGenerator.generateCandidates()
		assertTrue(list == [7, 11, 13, 17, 19])
		println list
	}
	
	
}
